//
//  UIView+Extentsion.h
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN

@interface UIView (Extentsion)

//添加毛玻璃效果
-(void)addGroundGlassEffect;


#pragma mark - 坐标系
@property (nonatomic) CGFloat originX;
@property (nonatomic) CGFloat originY;
@property (nonatomic) CGFloat left;
@property (nonatomic) CGFloat top;
@property (nonatomic) CGFloat right;
@property (nonatomic) CGFloat bottom;
@property (nonatomic) CGFloat width;
@property (nonatomic) CGFloat height;
@property (nonatomic) CGFloat centerX;
@property (nonatomic) CGFloat centerY;
@property (nonatomic) CGPoint origin;
@property (nonatomic) CGSize  size;



//制作部分圆角
-(void)makeFilletedCorner:(UIRectCorner)corner withRadius:(CGFloat)radius;

//view 转 image
-(UIImage *)getViewImage;



@end

NS_ASSUME_NONNULL_END
